package com.faxsun.common.web.extensibility;

import javax.servlet.ServletContextEvent;

import org.broadleafcommerce.common.classloader.release.ThreadLocalManager;
import org.broadleafcommerce.common.web.extensibility.MergeContextLoader;
import org.springframework.web.context.ContextLoaderListener;

public class MergeContextLoaderListener extends ContextLoaderListener {

	@Override
	public void contextInitialized(ServletContextEvent event) {
		// super.contextInitialized(event);
		new MergeContextLoader().initWebApplicationContext(event
				.getServletContext());
		ThreadLocalManager.remove();
	}
}
